<template>
	<view class="page">
		<nav-header title="邀请你加入企业" :show-right="false">
		</nav-header>
		<view class="content">
			<view>
				<up-button type="success" text="同意"></up-button>
			</view>
			<view style="margin-top: 20rpx;">
				<up-button text="拒绝"></up-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				messageId: null
			}
		},
		onLoad(options) {
			this.messageId = options.id
			this.getData()
		},
		methods: {
			getData() {
				this.$http({
					url: `/systemMessage/findMessageDetailById?id=${this.messageId}`,
					method: "GET"
				}).then(res => {
					console.log(res);
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		padding: 24rpx 32rpx;
	}
</style>